<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>用户基本信息</title>
    <#include "../common.ftl">
    <style>
        .layui-form-item .layui-input-company {width: auto;padding-right: 10px;line-height: 38px;}
    </style>
</head>
<body class="layuimini-container">
    <div class="layuimini-main">
        <input name="id" type="hidden" value="${(userInfo.id)!}"/>

        <div class="layui-form-item layui-row layui-col-xs12">
            <label class="layui-form-label">用户名</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input userName"
                       lay-verify="required" name="userName" id="userName"  value="${(userInfo.userName)!}"readonly>
            </div>
        </div>
        <div class="layui-form-item layui-row layui-col-xs12">
            <label class="layui-form-label">真实姓名</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input userName"
                       lay-verify="required" name="trueName" id="trueName" value="${(userInfo.trueName)!}" readonly>
            </div>
        </div>
        <div class="layui-form-item layui-row layui-col-xs12">
            <label class="layui-form-label">邮箱</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input userEmail" lay-verify="email" name="email" value="${(userInfo.email)!}"
                       id="email"
                       readonly>
            </div>
        </div>

        <div class="layui-form-item layui-row layui-col-xs12">
            <label class="layui-form-label">手机号</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input userEmail"
                       lay-verify="phone" name="phone" value="${(userInfo.phone)!}" id="phone" readonly>
            </div>
        </div>

        <#-- 角色下拉框 -->
        <div class="magb15 layui-col-md4 layui-col-xs12">
            <label class="layui-form-label">角色</label>
            <div class="layui-input-block">
                <select name="roleIds"  xm-select="selectId" disabled>
                </select>
            </div>
        </div>

        <script type="text/javascript" src="${ctx}/js/user/add.update.js"></script>
    </div>
</body>
</html>